package com.weseal.dao;

import com.weseal.domain.PartDate;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface PartDateDao {

	int deleteByPrimaryKey(Long id);

	int insert(PartDate record);

	PartDate selectByPrimaryKey(Long id);

	int updateByPrimaryKey(PartDate record);

	int deleteByPartId(Long partId);

	List<PartDate> selectByPartId(Long partId);

	int insertBatch(@Param("partDates") List<PartDate> partDates);
}